﻿package pages.translation {
	import flash.display.MovieClip;
	import flash.utils.getDefinitionByName;

	/**
	 * @author Hank
	 * 2009-9-29
	 */
	public class Transition extends MovieClip {
		public function Transition() {
		}

		public function getClass(className : String) : MovieClip {
			var Movie : Class = getDefinitionByName(className) as Class;
			var tran : MovieClip = new Movie() as MovieClip;
			addChild(tran);
			return tran;
		}
	}
}
